package com.robertbak.geolocation.consts
{
	/**
	 * Holds error codes 
	 */
	public class PositionErrorCodes
	{
		/**
		 * The location acquisition process failed due to an error not covered by the definition of any other error code in this interface. 
		 */
		public static const UNKNOWN_ERROR:uint = 0;
		/**
		 * The location acquisition process failed because the application origin does not have permission to use the Geolocation API. 
		 */
		public static const PERMISSION_DENIED:uint = 1;
		/**
		 * The position of the device could not be determined. One or more of the location providers used in the location acquisition process reported an internal error that caused the process to fail entirely.
		 */
		public static const POSITION_UNAVAILABLE:uint = 2;
		/**
		 * The specified maximum length of time has elapsed before the implementation could successfully acquire a new Position object.
		 */
		public static const TIMEOUT:uint = 3;
	}
}